home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
376-400
/
disk_376
/
aztecarp
/
sources.lzh
/
fmalloc.c
< prev
next >
Wrap
Text File
|
1990-08-01
|
277b
|
18 lines
void *
fmalloc(size_t size,ULONG flags)
{
struct mem
{
struct DefaultTracker *tracker;
} *mp;
if(mp = ArpAllocMem(sizeof(struct mem) + size,flags | MEMF_PUBLIC))
{
mp -> tracker = LastTracker;
return((char *)((ULONG)mp + sizeof(struct mem)));
}
return(NULL);
}